/* This is dummy file to clear user agent stylesheet. */


.root {

}

.theme-button-icon {
    -fx-background-color: -color-fg-default;
    -size: 15;
    -fx-min-height: -size;
    -fx-min-width: -size;
    -fx-max-height: -size;
    -fx-max-width: -size;
    -fx-shape: "M679.36 901.12h-312a112.32 112.32 0 0 1-115.2-109.12v-288a67.2 67.2 0 0 1-56.64-17.28l-94.4-85.76a64 64 0 0 1-20.48-46.08 64 64 0 0 1 20.48-45.76l168.96-156.48a68.48 68.48 0 0 1 64-15.04 123.2 123.2 0 0 1 32-4.48h68.48l2.88 28.8a82.56 82.56 0 0 0 84.8 69.44A82.24 82.24 0 0 0 608 161.92l2.88-28.8h68.48a123.52 123.52 0 0 1 32 4.48 68.16 68.16 0 0 1 64 15.04l168.96 156.48a61.76 61.76 0 0 1 20.48 45.76 64 64 0 0 1-20.48 46.08l-94.08 87.04a67.2 67.2 0 0 1-56.64 17.28v288a112.64 112.64 0 0 1-114.24 107.84zM316.16 374.4v417.6a48.64 48.64 0 0 0 51.2 45.12h312a48.64 48.64 0 0 0 51.52-45.12v-416l72 66.88a4.8 4.8 0 0 0 5.12 0l93.12-86.4-167.68-156.8a5.12 5.12 0 0 0-4.8 0l-13.44 7.68-14.4-5.76a54.4 54.4 0 0 0-21.44-4.16h-13.76a147.52 147.52 0 0 1-142.08 98.24 147.52 147.52 0 0 1-142.4-98.24h-13.76a55.68 55.68 0 0 0-21.44 4.16l-14.08 5.76-11.84-8a5.12 5.12 0 0 0-4.8 0l-170.56 156.48 94.08 85.44a5.44 5.44 0 0 0 5.44 0z";
}

.menu-icon {
    -fx-background-color: -color-fg-default;
    -size: 15;
    -fx-min-height: -size;
    -fx-min-width: -size;
    -fx-max-height: -size;
    -fx-max-width: -size;
    -fx-shape: "M170.666667 298.666667a42.666667 42.666667 0 0 1 42.666666-42.666667h597.333334a42.666667 42.666667 0 1 1 0 85.333333H213.333333a42.666667 42.666667 0 0 1-42.666666-42.666666z m0 213.333333a42.666667 42.666667 0 0 1 42.666666-42.666667h597.333334a42.666667 42.666667 0 1 1 0 85.333334H213.333333a42.666667 42.666667 0 0 1-42.666666-42.666667z m0 213.333333a42.666667 42.666667 0 0 1 42.666666-42.666666h597.333334a42.666667 42.666667 0 1 1 0 85.333333H213.333333a42.666667 42.666667 0 0 1-42.666666-42.666667z";
}

.minus-icon {
    -fx-background-color: -color-fg-default;
    -size: 12;
    -fx-min-height: 2;
    -fx-min-width: -size;
    -fx-max-height: 2;
    -fx-max-width: -size;
    -fx-shape: "M804.571 420.571v109.714q0 22.857-16 38.857t-38.857 16h-694.857q-22.857 0-38.857-16t-16-38.857v-109.714q0-22.857 16-38.857t38.857-16h694.857q22.857 0 38.857 16t16 38.857z";

}

.resize-max-icon {
    -fx-background-color: -color-fg-default;
    -size: 12;
    -fx-min-height: -size;
    -fx-min-width: -size;
    -fx-max-height: -size;
    -fx-max-width: -size;
    -fx-shape: "M726 810v-596h-428v596h428zM726 44q34 0 59 25t25 59v768q0 34-25 60t-59 26h-428q-34 0-59-26t-25-60v-768q0-34 25-60t59-26z";
}

.resize-min-icon {
    -fx-background-color: -color-fg-default;
    -size: 12;
    -fx-min-height: -size;
    -fx-min-width: -size;
    -fx-max-height: -size;
    -fx-max-width: -size;
    -fx-shape: "M80.842 943.158v-377.264h565.894v377.264h-565.894zM0 404.21v619.79h727.578v-619.79h-727.578zM377.264 161.684h565.894v377.264h-134.736v80.842h215.578v-619.79h-727.578v323.37h80.842v-161.686z";
}

.close-icon {
    -fx-background-color: -color-fg-default;
    -size: 12;
    -fx-min-height: -size;
    -fx-min-width: -size;
    -fx-max-height: -size;
    -fx-max-width: -size;
    -fx-shape: "M810 274l-238 238 238 238-60 60-238-238-238 238-60-60 238-238-238-238 60-60 238 238 238-238z";
}

#background-image-pane {
    /*-fx-background-image: url('/images/img.png');*/
    -fx-background-size: 100% 100%; /* 背景图片覆盖整个 Pane */
    -fx-background-position: center; /* 图片居中 */
    -fx-background-repeat: no-repeat; /* 图片不重复 */
}

.cord-pane {
    -fx-background-color: -color-bg-default;
    /*-fx-opacity: 0.18;*/
}

.tree-cell:empty {
    -fx-background-color: transparent;
    -fx-border-width: 0;
}

.tree-cell:empty:hover {
    -fx-background-color: transparent;
}

.tree-cell {
    -fx-background-color: transparent;
    -fx-border-width: 0;
}

.tree-cell:selected {
    -fx-background-color: -color-accent-subtle;
}

.tree-cell:hover {
    -fx-background-color: -color-accent-subtle;
}

.tree-cell:focused {
    -fx-background-color: -color-accent-subtle;
}


.sample {
    -fx-background-color: -color-border-subtle, -color-bg-default;
    -fx-background-insets: 0, 1;
    -fx-background-radius: 10px;
    -fx-padding: 10;
}

.tab-pane > .tab-header-area > .tab-header-background {
    /*-fx-background-insets: 0 0 0 0, 0 0 2px 0;*/
    -fx-background-color: transparent;
}

#logo-icon {
    -fx-icon-color: linear-gradient(from 18.5273% 0.0% to 100.0% 100.0%, #2626f8 0.0%, #2626f8 0.6711%, #a60eae 100.0%);
    -fx-icon-size: 32px;
}


#sidebar .nav-tree-cell:empty, #sidebar .nav-tree-cell:hover:empty {
    -fx-background-color: transparent;
    -fx-border-color: transparent;
}

/* nav-tree-cell 基础样式 */
#sidebar .nav-tree-cell {
    -color-cell-bg: -color-bg-inset;
    -color-cell-bg-selected: -color-accent-subtle;
    -color-cell-bg-selected-focused: -color-accent-subtle;
    -fx-border-color: -color-border-muted;
    -fx-border-width: 0;
    -fx-background-radius: 10;
}

/* disclosure-node 不显示 */
#sidebar .nav-tree-cell > .tree-disclosure-node,
#sidebar .nav-tree-cell > .tree-disclosure-node > .arrow {
    visibility: hidden;
}

/* container 高度 & 边距 */
#sidebar .nav-tree-cell > .container {
    -fx-pref-height: 2.1em;
    -fx-padding: 0;
    -fx-border-color: -color-border-muted;
    -fx-border-width: 0;
}

/* title 样式 */
#sidebar .nav-tree-cell > .container > .title {
    -fx-text-fill: -color-fg-default;
    -fx-font-weight: bold;

}

/* 选中 & hover 时的 title 样式 */
#sidebar .nav-tree-cell:selected > .container > .title,
#sidebar .nav-tree-cell:hover > .container > .title {
    -fx-font-weight: bold;
    -fx-text-fill: -color-accent-emphasis;
}

/* ikonli-font-icon 选中 & hover 样式 */
#sidebar .nav-tree-cell:selected > .container > .title .ikonli-font-icon,
#sidebar .nav-tree-cell:hover > .container > .title .ikonli-font-icon {
    -fx-icon-color: -color-accent-emphasis;
}

/* 选中 & hover 背景色 */
#sidebar .nav-tree-cell:selected,
#sidebar .nav-tree-cell:hover {
    -fx-background-color: -color-accent-subtle;
}

/* 分组 group 样式 */
#sidebar .nav-tree-cell:group > .container {
    -fx-pref-height: 2.5em;
    -fx-padding: 0;
}


/* group 下箭头切换 */
#sidebar .nav-tree-cell:group > .container > .arrow {
    -fx-icon-code: fth-chevron-right;
}

#sidebar .nav-tree-cell:group:expanded > .container > .arrow {
    -fx-icon-code: fth-chevron-down;
}

/* tag 标签样式 */
#sidebar .nav-tree-cell .tag {
    -fx-min-width: 20px;
    -fx-background-radius: 5px;
    -fx-font-size: 0.75em;
    -fx-pref-width: 20px;
    -fx-pref-height: 20px;
    -fx-background-color: rgba(248, 81, 73, 0.15);
    -fx-text-fill: -color-danger-emphasis;
}

#nar-menu-button:selected, #nar-menu-button:hover {
    -fx-background-color: -color-accent-subtle;
}

#nar-menu-button .ikonli-font-icon {
    -fx-icon-color: -color-fg-default;
    -fx-icon-size: 25px;
}

#nar-menu-button:selected .ikonli-font-icon, #nar-menu-button:hover .ikonli-font-icon {
    -fx-icon-color: -color-accent-emphasis;
    -fx-icon-size: 25px;
}

#user-menu-item:focused {
    -fx-background-color: transparent;
}

#user-menu-item:armed {
    -fx-background-color: transparent;
}

.window-view {
    -fx-background-color: -color-bg-default;
    -fx-background-radius: 10px;
    -fx-border-radius: 10px;
    -fx-border-color: -color-border-muted;
    -fx-border-width: 1px;
    -fx-effect: dropshadow(gaussian, rgba(0, 0, 0, 0.2), 30, 0.1, 0, 10);
}

#search-box > .label, #search-box > .label .ikonli-font-icon {
    -fx-text-fill: -color-fg-muted;
    -fx-icon-color: -color-fg-muted;
}

#search-box:hover > .label, #search-box:hover > .label .ikonli-font-icon {
    -fx-text-fill: -color-fg-default;
    -fx-icon-color: -color-fg-default;
}

.modal-box {
    -fx-background-color: -color-bg-default;
    -fx-background-radius: 10px;
    -fx-border-radius: 10px;
    -fx-border-color: -color-border-muted;
    -fx-border-width: 1px;
    /*-fx-effect: dropshadow(gaussian, rgba(0,0,0,0.2), 30, 0.1, 0, 10);*/
}

.modal-dialog {
    -fx-background-color: -color-bg-default;
    -fx-background-radius: 10px;
    -fx-border-radius: 10px;
    -fx-border-color: -color-border-muted;
    -fx-border-width: 1px;
    /*-fx-effect: dropshadow(gaussian, rgba(0,0,0,0.2), 30, 0.1, 0, 10);*/
}

#main-tab-pane .tab-header-area .tab:selected .tab-label {
    -fx-text-fill: -color-accent-emphasis; /* 改成你想要的颜色 */
    -fx-font-weight: bold;
}

#main-tab-pane .tab-header-area .tab-label {
    -fx-font-weight: bold;
    -fx-pref-height: 40px; /* 设置 tab header 的高度 */

}

.table-view .column-header .label, .tree-table-view .column-header .label {
    -fx-alignment: center; /* 水平居中 */
}